package atguigu2.lock;

/**
 * @AUTHOR LYF
 * @DATE 2022/2/3
 * @VERSION 1.0
 * @DESC
 */
public class SynLockDemo {
    public synchronized void add(){
        add();
    }

    public static void main(String[] args) {
        //new SynLockDemo().add();


    }
}
